<?php
namespace Twoir\System\Model;

use Twoir\System\Support\ParseTrait;
use Twoir\System\Support\SingleTrait;

/**
 * 用户下载记录表
 *
 * 【注意事项】有增减字段，请更新 字段：FIELD和默认值：MYDEFAULT，没有更新请勿动！！！
 * cighsen02 365182575
 * time: 2022.05.23
 * update: 2022.08.13
*/
class EnewsDownRecord
{
    use ParseTrait, SingleTrait;

	const TABLE = 'enewsdownrecord';

	//主键字段
	const PRIMARY = null;

	//字段
	const FIELD = [
	    'userid', 'username', 'classid', 'id', 'pathid', 'title', 'cardfen', 'truetime', 'online'
	];

	/**
	 * 默认值
	 */
	const MYDEFAULT = [
	    'userid'    => 0,
	    'username'  => '',
	    'classid'   => 0,
	    'id'        => 0,
	    'pathid'    => 0,
	    'title'     => '',
	    'cardfen'   => 0,
	    'truetime'  => 0, // 时间截
	    'online'    => 0
	];
}
